#include "Ability.h"
#include "rapidxml.hpp"

/**
 * Ability is called by name. All information is then being extracted from xml.
 */
Ability::Ability(char* name)
{
	mpName = name;

	//passive abilities should only be applied once.
	if(mType == PASSIVE) applyPassiveEffect();
}

/**
 * execute abilities that are active.
 */
bool Ability::executeAbility()
{
	//TODO: figure out how to do this with XML n stuff.
	return true;
}

/**
 * apply passive effect.
 */
bool Ability::applyPassiveEffect()
{
	//TODO: figure out how to do this with XML n stuff.
	return true;
}